#ifndef __Noncopyable_H__
#define __Noncopyable_H__

namespace wd
{
//名字本身表达的含义就是不可以复制
class Noncopyable
{
//定义了protected构造函数的类称为抽象类
protected:
    Noncopyable() {}
    ~Noncopyable(){}

    Noncopyable(const Noncopyable &) = delete;
    Noncopyable & operator=(const Noncopyable &) = delete;
};

}//end of namespace wd


#endif

